package eu.irreality.dai.util;

/*
 Created 02/09/2007 13:04:43
 */

public class Debug
{

    private Debug()
    {
    }

    // activates debug output.
    public static boolean DEBUG = false;

    public static void set(boolean debugBool)
    {
	DEBUG = debugBool;
    }

    public static void println(Object s)
    {
	if (DEBUG)
	    System.out.println(s);
    }

    public static void print(Object s)
    {
	if (DEBUG)
	    System.out.print(s);
    }

}
